package net.stogi.dsper.api.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "basic_secured_data_sources")
public class BasicSecuredDataSource extends DataSource implements Serializable {

	private static final long serialVersionUID = -8166028945741576843L;

	private String login;

	private String password;

	public BasicSecuredDataSource() {
		super(DataSourceType.BASIC_SECURED);
	}

	/**
	 * @return the login
	 */
	public String getLogin() {
		return login;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param login
	 *            the login to set
	 */
	public void setLogin(String login) {
		this.login = login;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

}
